var root = ui("$");
var nf = sm("do_Notification");
var helperOpen = require("helper/open");
var promotion = require("helper/promotion");
var do_App = sm("do_App");

var alayout = ui("alayout");
var labelTitle = ui("labelTitle");
var do_ImageView_img=ui("do_ImageView_img");

root.setMapping({
	"labelTitle.text":"title",
	"labelTitle.tag":"sourceBizzId",
	"alayout.tag":"path",
	"do_ImageView_img.source" : "pathImgs",
	"do_ImageView_img.tag" : "sourceBizzType",
});

alayout.on("touch",function(){
	if(do_ImageView_img.tag==1){
		helperOpen.open(promotion.type.MALL_PRODUCT,{id:labelTitle.tag});
	}
});